﻿using System;

namespace StudentWeb.Model
{
	/// <summary>
	/// StudentData
	/// </summary>
    [Serializable]
	public class StudentData
	{
        /// <summary>
        /// StudentID
        /// </summary>
        [FieldName("StudentID")]		
		public int StudentID
		{
			get;
			set;
		}
        
        /// <summary>
        /// StudentNo
        /// </summary>
        [FieldName("StudentNo")]		
		public string StudentNo
		{
			get;
			set;
		}
        
        /// <summary>
        /// Name
        /// </summary>
        [FieldName("Name")]		
		public string Name
		{
			get;
			set;
		}
        
        /// <summary>
        /// Password
        /// </summary>
        [FieldName("Password")]		
		public string Password
		{
			get;
			set;
		}
        
        /// <summary>
        /// Mobile
        /// </summary>
        [FieldName("Mobile")]		
		public string Mobile
		{
			get;
			set;
		}
        
        /// <summary>
        /// Grade
        /// </summary>
        [FieldName("Grade")]		
		public string Grade
		{
			get;
			set;
		}
        
        /// <summary>
        /// Major
        /// </summary>
        [FieldName("Major")]		
		public string Major
		{
			get;
			set;
		}
        
        /// <summary>
        /// Class
        /// </summary>
        [FieldName("Class")]		
		public string Class
		{
			get;
			set;
		}
        
        /// <summary>
        /// Sex
        /// </summary>
        [FieldName("Sex")]		
		public string Sex
		{
			get;
			set;
		}
        
        public StudentData Clone()
        {
            return (StudentData)this.MemberwiseClone();
        }
        
        public StudentData()
        {
            StudentNo = string.Empty;  // 如果是字符串，初始化为空字符串
            Name = string.Empty;  // 如果是字符串，初始化为空字符串
            Password = string.Empty;  // 如果是字符串，初始化为空字符串
            Mobile = string.Empty;  // 如果是字符串，初始化为空字符串
            Grade = string.Empty;  // 如果是字符串，初始化为空字符串
            Major = string.Empty;  // 如果是字符串，初始化为空字符串
            Class = string.Empty;  // 如果是字符串，初始化为空字符串
            Sex = string.Empty;  // 如果是字符串，初始化为空字符串
        }
	}
}

